import request from "./request.js"


export const getArticle = (id) => {
    return request({
        url: `/articles/${id}`,
        method: 'GET',
    })
}

export const getRecommendedArticles = (userId) => {
    return request({
        url: `/articles/user/${userId}/recommendations`,
        method: 'GET',
    })
}








